<?php

class Webkul_Marketplacepartner_Model_Entity_Setup extends Mage_Eav_Model_Entity_Setup
{
    public function getDefaultEntities(){
        return array(
			'marketplacepartner_product' => array(
				'entity_model' => 'marketplacepartner/product',
				'table'	=>	'marketplacepartner/entity',
				'attributes'	=>	array(
						'entity_id'	=>	array('type'=>'static'),
						'name'	 => 	array('type'=>'varchar'),
						'description'	=> 	array('type'=>'text'),
						'short_description'	=>	array('type'=>'text'),
						'price'	=>	array('type'=>'decimal'),
						'stock'	=> array('type'=>'int'),
						'weight'	=> array('type'=>'decimal'),
						'product_id'	=> array('type'=>'int'),
						'customer_id'	=> array('type'=>'int'),
						'created_at'	=> array('type'=>'datetime')
					)
            )
        );
    }
}
